﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:local="clr-namespace:BankTeller.BankTellerModule"
    xmlns:d="http://schemas.microsoft.com/expression/interactivedesigner/2006"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d">
	<LinearGradientBrush x:Key="NormalBrush" EndPoint="0,1" StartPoint="0,0">
		<GradientStop Color="#EEE" Offset="0.0"/>
		<GradientStop Color="#CCC" Offset="1.0"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="NormalBorderBrush" EndPoint="0,1" StartPoint="0,0">
		<GradientStop Color="#CCC" Offset="0.0"/>
		<GradientStop Color="#444" Offset="1.0"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="LightBrush" EndPoint="0,1" StartPoint="0,0">
		<GradientStop Color="#FFF" Offset="0.0"/>
		<GradientStop Color="#EEE" Offset="1.0"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="MouseOverBrush" EndPoint="0,1" StartPoint="0,0">
		<GradientStop Color="#FFC5DDFF" Offset="0"/>
		<GradientStop Color="#FF7FB5E2" Offset="1"/>
		<GradientStop Color="#FF7FB5E2" Offset="0.514"/>
		<GradientStop Color="#FFC5DDFF" Offset="0.51"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="PressedBrush" EndPoint="0,1" StartPoint="0,0">
		<GradientStop Color="#FFB3C1D4" Offset="0"/>
		<GradientStop Color="#FF8A9AA9" Offset="1"/>
		<GradientStop Color="#FFC1D1E5" Offset="0.465"/>
		<GradientStop Color="#FF91A2B2" Offset="0.485"/>
		<GradientStop Color="#FFC0D0E4" Offset="0.48"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="PressedBorderBrush" EndPoint="0,1" StartPoint="0,0">
		<GradientStop Color="#444" Offset="0.0"/>
		<GradientStop Color="#888" Offset="1.0"/>
	</LinearGradientBrush>

	<SolidColorBrush x:Key="DisabledForegroundBrush" Color="#888"/>
	<SolidColorBrush x:Key="DisabledBackgroundBrush" Color="#EEE"/>
	<SolidColorBrush x:Key="DisabledBorderBrush" Color="#AAA"/>

	<SolidColorBrush x:Key="WindowBackgroundBrush" Color="#FFF"/>

	<LinearGradientBrush x:Key="DefaultedBorderBrush" EndPoint="0,1" StartPoint="0,0">
		<GradientStop Color="#777" Offset="0.0"/>
		<GradientStop Color="#000" Offset="1.0"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="SelectedListBoxBrush" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#33F7F7F7" Offset="0"/>
		<GradientStop Color="#00FFFFFF" Offset="0.98"/>
	</LinearGradientBrush>

	<SolidColorBrush x:Key="SolidBorderBrush" Color="#888"/>
	<SolidColorBrush x:Key="LightBorderBrush" Color="#AAA"/>
	<SolidColorBrush x:Key="LightColorBrush" Color="#DDD"/>

	<SolidColorBrush x:Key="GlyphBrush" Color="#444"/>

	<Style x:Key="HeaderStyle" TargetType="{x:Type TextBlock}">
		<Setter Property="FontFamily" Value="Calibri"/>
		<Setter Property="FontSize" Value="18"/>
		<Setter Property="Foreground" Value="#FFFFFFFF"/>
		<Setter Property="Margin" Value="10,0,10,10"/>
	</Style>

	<Style x:Key="TabControl" TargetType="{x:Type TabControl}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type TabControl}">
					<Grid KeyboardNavigation.TabNavigation="Local">
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto"/>
							<RowDefinition Height="*"/>
						</Grid.RowDefinitions>

						<TabPanel Grid.Row="0" Margin="0,0,4,-1" x:Name="HeaderPanel" Background="Transparent" IsItemsHost="True" Panel.ZIndex="1" KeyboardNavigation.TabIndex="1"/>

						<Border Grid.Row="1" x:Name="Border" Background="{DynamicResource WindowBackgroundBrush}" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1" CornerRadius="2" KeyboardNavigation.DirectionalNavigation="Contained" KeyboardNavigation.TabNavigation="Local" KeyboardNavigation.TabIndex="2">

							<ContentPresenter Margin="4" x:Name="PART_SelectedContentHost" ContentSource="SelectedContent"/>

						</Border>
					</Grid>

					<ControlTemplate.Triggers>
						<Trigger Property="IsEnabled" Value="False">
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
							<Setter Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Border"/>
						</Trigger>
					</ControlTemplate.Triggers>

				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style  d:IsControlPart="True" TargetType="{x:Type TabItem}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type TabItem}">
					<Grid>
						<Border Margin="0,0,-4,0" x:Name="Border" Background="{DynamicResource LightBrush}" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1,1,1,1" CornerRadius="2,12,0,0">
							<ContentPresenter HorizontalAlignment="Center" Margin="12,2,12,2" x:Name="ContentSite" VerticalAlignment="Center" RecognizesAccessKey="True" ContentSource="Header"/>
						</Border>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsSelected" Value="True">
							<Setter Property="Panel.ZIndex" Value="100"/>
							<Setter Property="Background" Value="{DynamicResource WindowBackgroundBrush}" TargetName="Border"/>
							<Setter Property="BorderThickness" Value="1,1,1,0" TargetName="Border"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
							<Setter Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Border"/>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<SolidColorBrush x:Key="SolidBrush" Color="#FF202020"/>

	<LinearGradientBrush x:Key="PanelGradientBrush" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FF555555" Offset="0"/>
		<GradientStop Color="#FF1C1C1C" Offset="1"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="TextBoxBorderBrush" EndPoint="0,20" StartPoint="0,0" MappingMode="Absolute">
		<GradientStop Color="#FF2A3567" Offset="0.05"/>
		<GradientStop Color="#FFD0D0D0" Offset="0.07"/>
		<GradientStop Color="#FFACAEB1" Offset="1"/>
	</LinearGradientBrush>

	<SolidColorBrush x:Key="FontColor" Color="#FFE6E6E6"/>

	<SolidColorBrush x:Key="GrayFontColor" Color="#FF888888"/>

	<LinearGradientBrush x:Key="SideGradientBrush" EndPoint="0.439,0.967" StartPoint="0.561,0.033">
		<GradientStop Color="#FF202020" Offset="0"/>
		<GradientStop Color="#FF545454" Offset="1"/>
	</LinearGradientBrush>

	<SolidColorBrush x:Key="BorderBrush" Color="#FF747474"/>

	<Thickness x:Key="BorderThickness">1,1,1,1</Thickness>

	<Style x:Key="BorderStyle" TargetType="{x:Type Border}">
		<Setter Property="BorderThickness" Value="{DynamicResource BorderThickness}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource BorderBrush}"/>
		<Setter Property="CornerRadius" Value="10,10,10,10"/>
	</Style>

	<Thickness x:Key="LabelPadding">5,8,5,2</Thickness>

	<Style TargetType="{x:Type Label}">
		<Setter Property="Foreground" Value="{DynamicResource FontColor}"/>
		<Setter Property="FontWeight" Value="Normal"/>
		<Setter Property="Padding" Value="{DynamicResource LabelPadding}"/>
		<Setter Property="FontFamily" Value="Calibri"/>
		<Setter Property="FontSize" Value="13"/>
	</Style>

	<Style TargetType="{x:Type TextBlock}">
		<Setter Property="FontFamily" Value="Calibri"/>
	</Style>


	<LinearGradientBrush x:Key="InputBackgroundBrush" EndPoint="0.504,0.351" StartPoint="0.504,-0.319">
		<GradientStop Color="#FF000000" Offset="0.416"/>
		<GradientStop Color="#FF4A5790" Offset="0.54"/>
	</LinearGradientBrush>

	<Style x:Key="NormalButtonStyle" TargetType="{x:Type Button}">
		<Setter Property="Foreground" Value="#FFFFFF" />
		<Setter Property="Width" Value="120"/>
		<Setter Property="Height" Value="25"/>
		<Setter Property="FontSize" Value="10"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle x:Name="Rectangle" Stroke="#FF051F42" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF1F317D" Offset="0.101"/>
									<GradientStop Color="#FF1F317D" Offset="0.49"/>
									<GradientStop Color="#FF6C8EBD" Offset="0.51"/>
									<GradientStop Color="#FF283D8C" Offset="0"/>
									<GradientStop Color="#FF7094C7" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="Rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF2C558C" Offset="0.101"/>
										<GradientStop Color="#FF1F317D" Offset="0.49"/>
										<GradientStop Color="#FF9DB5D7" Offset="0.51"/>
										<GradientStop Color="#FF244AAF" Offset="0"/>
										<GradientStop Color="#FF87A4D9" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="BlackButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF1E1E1E" Offset="0.101"/>
									<GradientStop Color="#FF1E1E1E" Offset="0.49"/>
									<GradientStop Color="#FF5B5959" Offset="0.51"/>
									<GradientStop Color="#FF2F2F2F" Offset="0"/>
									<GradientStop Color="#FF5B5959" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF3A3A3A" Offset="0.101"/>
										<GradientStop Color="#FF1E1E1E" Offset="0.49"/>
										<GradientStop Color="#FFB0B0B0" Offset="0.51"/>
										<GradientStop Color="#FF656565" Offset="0"/>
										<GradientStop Color="#FF989898" Offset="0.938"/>
										<GradientStop Color="#FF7F7F7F" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}"/>
	<SolidColorBrush x:Key="LogoBrush" Color="#FF93999C"/>

	<LinearGradientBrush x:Key="MenuPressedBrush" StartPoint="0.500023,0.999996" EndPoint="0.500023,4.37507e-006">
		<GradientStop Color="#FF875225" Offset="0"/>
		<GradientStop Color="#FF221E1F" Offset="0.960674"/>
		<GradientStop Color="#FF221E1F" Offset="1"/>
	</LinearGradientBrush>
</ResourceDictionary>